package Lab05.Q5;

public class Person {
    private String name;
    private int age;
    Person(){
        this("None",18);
    }
    Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    void setName(String name) {
        this.name = name;
    }

    void setAge(int age) {
        this.age = age;
    }

    int getAge(){
        return this.age;
    }
    String getName(){
        return this.name;
    }
    String say(){
        return null;
    }

}
class Sister extends Person{
    public Sister(String name, int age) {
        super(name, age);
    }
    public String say(){
        return "不像我，我只会心疼geigei~\n";
    }
}
